import request from '@/utils/request'
//列表
export  function list(query){
    return request({
        url:"/loan/userLoanUrge/urgePaymentList",
        method: 'post',
        data:query
    })
}
//新增
export  function add(query){
    return request({
        url:"/auth/shortMsg/addShortMsg",
        method:"post",
        data:query
    })
}
//查看
export  function detail(id){
    return request({
        url:"/auth/shortMsg/detail/"+id,
        method:"post"
    })
}

//删除
export  function del(id){
    return request({
        url:"/auth/shortMsg/delShortMsg/"+id,
        method:"post"
    })
}

//提醒记录
export function alertList(id) {
    return request({
        url: "/loan/userLoanUrge/queryExpiryAlert/" + id,
        method: "get"
    })
}

